window.onload = function(){
    var oTab = document.getElementById('cen_right_top');
    var aH3 = oTab.getElementsByTagName('h3');
    var divEle = oTab.getElementsByTagName('div');

    for(var i=0;i<aH3.length;i++){
        aH3[i].index = i;
        aH3[i].onclick = function(){
            for(var j=0;j<aH3.length;j++){
                aH3[j].className = '';
                divEle[j].style.display='none';
            }

            this.className = 'active';
            divEle[this.index].style.display='block';
        }
    }
}

